<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="orest.back.membermanage.RegisterUserHandler"%>
<%@page import="net.ssta.core.db.RecordSet"%>
<%@page import="net.ssta.core.db.Record"%>
<%@page import="net.ssta.core.web.HTMLGenerator"%>
<%@page import="orest.back.userneeds.UserNeedsHandler"%>
<%@page import="net.ssta.common.LoginUser"%>


<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName();
	if(request.getServerPort()!=80){
		basePath+=":"+request.getServerPort();
	}
    RecordSet rs=(RecordSet)request.getAttribute("RECORDSET");
    if(rs==null){rs=new RecordSet();}
    
    
%>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>


    <META http-equiv=Content-Type content="text/html; charset=utf-8" />
    <META http-equiv=x-ua-compatible content=ie=7 />
    <META content="MSHTML 6.00.6000.17107" name=GENERATOR />
    <link href="<%=path%>/common/css/layout.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/common/css/user.css" rel="stylesheet" type="text/css" />
	<link type="text/css" rel="stylesheet" href="<%=path %>/includes/styleBase/css/ostable.css" />
    <script type="text/javascript" src="<%=path%>/includes/styleBase/js/jquery.js"></script>
 
<title>rss列表</title>
 


<style>
body, html {
	background:url(../images/bg1.jpg) top center;
}
	.ctable{
		font-size:12px;
		cellPadding:0px;
		cellSpacing:0px;
		background-color:#F6F9FF;
		margin:10px;
		} 
 
		.ctable tr{
		height:24px; 
		} 
		.ctable tr td{ 
		border:0px;
		border-top:1px #99bbe8 solid; 
		border-right:1px #99bbe8 solid;
		padding:5px; 
		vertical-align:middle;
		}
</style>

 
 
 
</head>
<body>
 
  <table cellpadding="0" align="center" cellspacing="0" border="0" class="ctable" width=80% style="border-left:1px solid #99bbe8;border-bottom:1px solid #99bbe8;border-right:0px solid red;">
    <tr >
      <td width="30%">频道</td>
      <td >rss地址</td>
      <td >复制</td>
     </tr>
     
     
     <% int i=0;
        for(i=0;i<rs.size();i++){
        	Record r=rs.get(i);
     %>
         <tr>
         
            <td><%=r.getString("CHANNEL_NAME","") %></td>
            <td>
            <%=basePath+"/cms/rss/rss.jsp?channelId="+r.getString("CHANNEL_ID","")%>
            </td>
            <td>
             <img src="<%=path %>/common/images/xml.gif" alt="复制" title="复制地址" style="cursor:pointer;" onclick=" window.clipboardData.setData('text','<%=basePath+"/cms/rss/rss.jsp?channelId="+r.getString("CHANNEL_ID","")%>')"/>
            </td>
         </tr>
         
        
     
     <%}for(;i<10;i++){%>
         <tr>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
     <%} %>
    
  </table>
 
 
</body> 
</html>